package com.yhj.blog.persistence.beans;

import com.yhj.blog.framework.object.AbstractDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Transient;

import java.util.List;

/**
 * @author 杨华京
 * @version 1.0
 * @description 类别
 * @since 1.8
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BizType extends AbstractDO {
    private long pid;
    private String name;
    private String description;
    private Boolean available;
    private String icon;
    @Transient
    private BizType parent;
    @Transient
    private List<BizType> nodes;
}
